package com.yonyougov.devops.cruxcisupport.userserver.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "删除server公钥")
public class UserServerDeletePubKeyRequestDto extends BaseRequestDto {
    @NotNull
    @ApiModelProperty(value = "server id", required = true)
    private BigInteger serverId;

    @NotNull
    @ApiModelProperty(value = "用户公钥的集合", required = true)
    private List<String> pubKey;
}